package com.ruoyi.system.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import com.ruoyi.common.core.validate.QueryGroup;
import com.ruoyi.system.domain.DeviceFaultMap;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;
import java.util.List;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 显示器检测业务对象 display_test
 *
 * @author Panda
 * @date 2023-11-27
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class DisplayTestBo extends BaseEntity {

    /**
     * 主键
     */
    @NotBlank(message = "主键不能为空", groups = { EditGroup.class })
    private String id;

    /**
     * 序列号
     */
    @NotBlank(message = "序列号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String sn;

    /**
     * 品牌
     */
    @NotBlank(message = "读取到的品牌不能为空", groups = { AddGroup.class, EditGroup.class })
    private String originBrand;
    /**
     * 品牌
     */
    @NotBlank(message = "品牌不能为空", groups = { AddGroup.class, EditGroup.class })
    private String brand;

    /**
     * 型号
     */
    @NotBlank(message = "型号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String model;

    /**
     * 尺寸
     */
    @NotBlank(message = "尺寸不能为空", groups = { AddGroup.class, EditGroup.class })
    private String size;

    /**
     * 分辨率
     */
    @NotBlank(message = "分辨率不能为空", groups = { AddGroup.class, EditGroup.class })
    private String resolution;

    /**
     * 关联的po号
     */
    @NotBlank(message = "关联的po号不能为空", groups = { AddGroup.class, EditGroup.class , QueryGroup.class})
    private String poId;

    /**
     * 关联的故障有哪些
     */
    private List<String> deviceFaultMaps;

    /**
     * 备注
     */
    private String remark;


}
